package com.woody.aggregate.infrastructure.contract.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.woody.common.mybatisplus.model.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 合同记录表
 * @TableName tz_contract_record
 */
@TableName(value ="shop_per_customer")
@Data
public class ShopPerCustomerEntity extends BaseEntity implements Serializable {

    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 店铺id
     */
    @TableField(value = "shop_id")
    private Long shopId;

    /**
     * 客单价
     */
    @TableField(value = "customer_unit_price")
    private BigDecimal customerUnitPrice;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}